package com.mzhmxh.util;

import com.github.pagehelper.Page;
import com.github.pagehelper.PageHelper;

/**
 * @Author LiJinCheng
 * @Date 2020/2/7 3:37 下午
 * @Version 1.0
 * @package com.colin.pro2020.util
 **/
public class PageUtil {
    private final static Integer PAGE_SIZE = 5;
    public static Page<?> getPage(Integer pageNum) {
        return PageHelper.startPage(pageNum, PAGE_SIZE);
    }
}
